﻿namespace VXCompany.SilverlightLogging.Services.ServiceContracts
{
    using System;
    using System.ServiceModel;

	[ServiceContract(Namespace = Constants.DEFAULT_NAMESPACE)]
    public interface ILoggingService
    {
        #region Methods

		/// <summary>
		/// Returns logging configuration for clients.
		/// </summary>
		/// <returns></returns>
        [OperationContract]
        LoggingConfigurationMessage GetClientConfig();

		/// <summary>
		/// Logs exception message from clients.
		/// </summary>
		/// <param name="messages"></param>
        [OperationContract(IsOneWay=true)]
        void LogExceptionBatch(System.Collections.Generic.List<ExceptionMessage> messages);

		

        #endregion Methods
    }
}